package com.yunhe.rentcars.pro.entity.car;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author maliang
 * @version V1.0
 * @date 2017/11/23 0023 09:52
 * @Description: 车辆保险实体
 */
public class CarInsurance {
    private Long recordid; // 记录编号
    private String carcode; // 车辆编号
    private String company; // 保险公司
    private String companyphone; // 出险电话
    private String code; // 保单编号
    private String content; // 保单内容
    private double money; // 保单费用
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date validdate; // 生效日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date invaliddate; // 失效日期
    private String contactman; // 经办人员
    private String contactmobile; // 经办手机
    private String remark; // 备注信息
    private Date addtime; // 添加时间

    public Long getRecordid() {
        return recordid;
    }

    public void setRecordid(Long recordid) {
        this.recordid = recordid;
    }

    public String getCarcode() {
        return carcode;
    }

    public void setCarcode(String carcode) {
        this.carcode = carcode;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompanyphone() {
        return companyphone;
    }

    public void setCompanyphone(String companyphone) {
        this.companyphone = companyphone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public Date getValiddate() {
        return validdate;
    }

    public void setValiddate(Date validdate) {
        this.validdate = validdate;
    }

    public Date getInvaliddate() {
        return invaliddate;
    }

    public void setInvaliddate(Date invaliddate) {
        this.invaliddate = invaliddate;
    }

    public String getContactman() {
        return contactman;
    }

    public void setContactman(String contactman) {
        this.contactman = contactman;
    }

    public String getContactmobile() {
        return contactmobile;
    }

    public void setContactmobile(String contactmobile) {
        this.contactmobile = contactmobile;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }
}
